Skip to content

Multiple scoped HRQs with the same name #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ryotarai
Copy link
Collaborator

@ryotarai ryotarai commented Jun 23, 2025

Previously, there was an issue where the names of scoped RQs created from scoped HRQs could conflict. This PR fixes that problem.

Problem

In the previous implementation, the name of a scoped RQ was just a prefixed version of the scoped HRQ name. As a result, if a parent namespace and a child namespace had scoped HRQs with the same name, it would try to create RQs with the same name in the child namespace and fail.

Solution

This PR changes the RQ naming to include the namespace name and an MD5 hash of hrqNamespace/hrqName. However, since this can make the name exceed the length limit, the name is truncated appropriately when it's too long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant